package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.IDao.Wd_ht_unitModelMapper;
import com.zhuoshi.bean.Wd_ht_unitModel;
import com.zhuoshi.service.Wd_ht_unitModelService;

@Service
public class Wd_ht_unitModelServiceImpl implements Wd_ht_unitModelService {
	@Autowired
	Wd_ht_unitModelMapper wd_ht_unitModelMapper ;
	public int deleteByPrimaryKey(String unitId) {
		// TODO Auto-generated method stub
		return wd_ht_unitModelMapper.deleteByPrimaryKey(unitId);
	}

	public int insert(Wd_ht_unitModel record) {
		// TODO Auto-generated method stub
		return wd_ht_unitModelMapper.insert(record);
	}

	public int insertSelective(Wd_ht_unitModel record) {
		// TODO Auto-generated method stub
		return wd_ht_unitModelMapper.insertSelective(record);
	}

	public Wd_ht_unitModel selectByPrimaryKey(String unitId) {
		// TODO Auto-generated method stub
		return wd_ht_unitModelMapper.selectByPrimaryKey(unitId);
	}

	public int updateByPrimaryKeySelective(Wd_ht_unitModel record) {
		// TODO Auto-generated method stub
		return wd_ht_unitModelMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Wd_ht_unitModel record) {
		// TODO Auto-generated method stub
		return wd_ht_unitModelMapper.updateByPrimaryKey(record);
	}

	public List<Wd_ht_unitModel> selectAll(Wd_ht_unitModel record) {
		// TODO Auto-generated method stub
		return wd_ht_unitModelMapper.selectAll(record);
	}

	public List<Wd_ht_unitModel> selectByBuildId(String buildId) {
		// TODO Auto-generated method stub
		return wd_ht_unitModelMapper.selectByBuildId(buildId);
	}

}
